using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Entity;

namespace Business
{
	public class BlueReportBusiness
	{
		#region Generated code
        public static List<BlueReport> GetBlueReportList()
        {
		    var result = FreshCmsDataAccessProvider.BlueReport.GetBlueReportList();
		    return result;
        }

		public static List<BlueReport> GetBlueReportListByPaging(int pageIndex, int pageSize, ref int totalRecord)
        {
		    var result = FreshCmsDataAccessProvider.BlueReport.GetBlueReportListByPaging(pageIndex, pageSize, ref totalRecord);
		    return result;
        }

        public static BlueReport GetBlueReportById(int reportId)
        {
		    var result = FreshCmsDataAccessProvider.BlueReport.GetBlueReportById(reportId);
            return result;
        }

        public static int InsertBlueReport(BlueReport blueReport)
        {
            var result = FreshCmsDataAccessProvider.BlueReport.InsertBlueReport(blueReport);
            return result;
        }

        public static int UpdateBlueReport(BlueReport blueReport)
        {
            var result = FreshCmsDataAccessProvider.BlueReport.UpdateBlueReport(blueReport);
            return result;
        }

        public static int DeleteBlueReport(int reportId)
        {
            var result = FreshCmsDataAccessProvider.BlueReport.DeleteBlueReport(reportId);
            return result;
        }
		#endregion
	}
}